﻿using System.Windows.Controls;
using Tp.Bootstrapper;
using Tp.Interfaces;

namespace Tp.Wpf.UserControls
{
	public partial class GeschaeftsfaelleUserControl : UserControl
	{
		#region Properties
		private IViewModelLocator ViewModelLocator
		{
			get
			{
				return IoC.ServiceLocator.Get<IViewModelLocator>();
			}
		}
		#endregion

		#region C-Tor
		public GeschaeftsfaelleUserControl()
		{
			InitializeComponent();
			this.DataContext = ViewModelLocator.Gescheftsfall;
		}
		#endregion
	}
}
